<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="layout" content="site">
  </head>
  <body>
    <div class="mainbar">
      <div class="article">
        <h2>Pre-Cadastro</h2>
        <p>${flash.message}</p>
        <div class="clr"></div>
        <form controller="principal" action="sendCadastro" method="post" id="sendemail">
          <ol>
            <li>
              <label for="name">Nome</label>
              <input id="name" name="nome" class="text" />
            </li>
            <li>
              <label for="email">Email</label>
              <input id="email" name="email" class="text" />
            </li>
            <li>
              <label for="message">Endereço</label>
              <input id="message" name="endereco" class="text" />
            </li>
            <li>
              <label for="message">Bairro</label>
              <input id="message" name="bairro" class="text" />
            </li>
            <li>
              <label for="message">Cidade</label>
              <input id="message" name="cidade" class="text" />
            </li>
            <li>
              <label for="message">CEP</label>
              <input id="message" name="cep" class="text" />
            </li>
            <li>
              <label for="email">Telefone</label>
              <input id="email" name="telefone1" class="text" />
            </li>
            <li>
              <label for="email">Celular</label>
              <input id="email" name="telefone2" class="text" />
            </li>
            <li>
              <label for="email">MSN</label>
              <input id="email" name="msn" class="text" />
            </li>
            <li>
              <label for="email">Skype</label>
              <input id="email" name="skype" class="text" />
            </li>
            <li>
              <label for="email">RG</label>
              <input id="email" name="rg" class="text" />
            </li> 
            <li>
              <label for="email">CPF</label>
              <input id="email" name="cpf" class="text" />
            </li> 
            <li>
              <input type="image" name="imageField" id="imageField" src="${resource(dir:'images', file: 'enviar.jpg')}" class="send" />
              <div class="clr"></div>
            </li>
          </ol>
        </form>
      </div>

      <div class="clr"></div>
    </div>
    <div class="sidebar">
      <img width="215px" src="${createLink(controller:'estoqueImagem', action:'view')}"/>
    </div>
    <div class="clr"></div>
  </body>
</html>

